package com.mingqijia.gassafety.job.dto;

import com.alibaba.fastjson.JSONArray;
import com.mingqijia.gassafety.db.entity.RunningStrategyExt;
import com.mingqijia.gassafety.db.entity.vo.SendMessagePhonesVo;
import com.mingqijia.gassafety.shared.constant.WxTypeEnum;
import lombok.Data;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * @program: gassafety
 * @description: 添加任务池
 * @author: Mr.Wang
 * @create: 2023-02-13 15:59
 **/
@Data
public class SendMessageDTO {
    private Integer serviceStatus; //服务到期状态
    private String verb;
    private String endDate;

    private Integer consumerId;
    private String consumerName;
    private String consumerPhone;
    private String memberId;
    private String custName;
    private String subsCode;
    private Integer pkgId;
    private String spId;

    private String superImei;
    private String imei;
    private Integer value;  //浓度值
    private String address;
    private String position;
    private String equipmentType;
    private Integer equipmentFrom;

    private String key;  //缓存的key
    private Long strategyId;
    private Integer type; //报警方式，在燃气泄漏中1-低报，2高报
    private Integer pushType; //推送方式
    private String pushTypeCode; //推送方式对应的英文，方便在多中国组合的推送方式中映射
    private Long snowflakeId; //uuid
    private List<String> openIds;

    private List<SendMessagePhonesVo> phones;
    private String phone;  //联系人电话
    private String Level;  //联系人等级
    private Integer notifyObjType;  //通知对象类型 -1 本地消息 0客户 1 企业员工 2 微信（openId）3 额外手机号

    private String orgPhone;
    private String sendCode; //发送编码
    private String content;  //发送内容
    private String orgCode;
    private String orgName;
    RunningStrategyExt ext; //策略
    private Map<String, Object> param; //缓存
    private Map<String, Object> cacheMap; //缓存
    private Integer strategyType;  //服务类型
    private String factoryName; //厂家名称
    private String name;//客户名称


    private Integer sendType = 0; //o-正常发送（默认） 1- C端预览发送

}
